import './assets/main.css'

import { createApp } from 'vue'
import { createPinia } from 'pinia'
import Antd from 'ant-design-vue';
import 'ant-design-vue/dist/reset.css';


import App from './App.vue'
import router, {setupRouter} from './router'

import {setupPlugins} from "@/plugins";
import 'md-editor-v3/lib/style.css';

import '@/assets/main.css'


async function bootstrap() {
    const app = createApp(App)
    setupPlugins(app)
    app.use(createPinia())
    app.use(Antd)
    await setupRouter(app)
    await  router.isReady()
    app.mount('#app')
}

bootstrap().then(() => {})
